<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>New Entry</title>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
<body>

<jsp:include page="admincommon.jsp"></jsp:include>
	<!-- ********************* Waqfe Nou ************************ -->
	<br />
	<div class="menu">Waqfe Nou Menu</div>
	<%
		if("1".equals(request.getParameter("r"))) {
		%>
		<div class='error'>Record does not exist!</div> <br>
		<%
		} else if("2".equals(request.getParameter("r"))) {
			%>
			<div class='success'>Operation Successful!</div><br>
			<%
		} else if("3".equals(request.getParameter("r"))) {
		%>
			<div class='error'>Cannot create or update!</div><br>
		<%
		}
	%>
	<label>
		<span>Create or renew Waqfe Nou record</span> 
		<a href="newentry.jsp">Go</a> 
	</label>

	<form method="post" action="editentry.jsp">

	<label>
		<span>Enter Waqfe Nou Member Code to edit</span> 
		<input name='wn' class='input_text' type='text' />
		<input type='submit' value='Edit' class="input_button"/> 
	</label>
	
	</form>
	
	<label>
		<span>Search WN</span> 
		<a href="search.jsp">Go</a> 
	</label>
	<label>
		<span>WN Analytics</span> 
		<a href="analytics.jsp">Go</a> 
	</label>

	<!-- ********************* Jamaat ************************ -->
	<br />
	<div class="menu">Jamaat Menu</div>
	<label>
		<span>Create or renew Jamaat record</span> 
		<a href="jamaatnewentry.jsp">Go</a> 
	</label>
	<form method="post" action="jamaateditentry.jsp">

	<label>
		<span>Enter Jamaat Code to edit</span> 
		<input name='wn' class='input_text' type='text' />
		<input type='submit' value='Edit' class="input_button"/> 
	</label>
	
	</form>
	<label>
		<span>List Jamaats</span> 
		<a href="listjamaat.jsp">Go</a> 
	</label>

	<!-- ********************* Sect. Waqfe Nou ************************ -->
	<br />
	<div class="menu">Sect. Waqfe Nou Menu</div>
	<label>
		<span>Create or renew Sect. Waqfe Nou record</span> 
		<a href="sectnewentry.jsp">Go</a> 
	</label>

	<form method="post" action="secteditentry.jsp">

	<label>
		<span> Enter Sect. Member Code to edit</span> 
		<input name='wn' class='input_text' type='text' />
		<input type='submit' value='Edit' class="input_button"/> 
	</label>
	
	</form>
	<label>
		<span>List Sect. WN Records</span> 
		<a href="listsect.jsp">Go</a> 
	</label>
	
	
	
</body>
</html>